package tto.gio.next;


import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;


public class NextMain extends Activity {

	
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        startService(new Intent(this, HiddenService.class));
        
        //setContentView(R.layout.activity_next_main);
        finish();
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        //getMenuInflater().inflate(R.menu.activity_next_main, menu);
        
        return false;
    }
    
    public void btnStart(View v){ 
    	startService(new Intent(this, HiddenService.class));
    	
    }
    	 
    public void btnStop(View v){
    	
    	stopService(new Intent(this, HiddenService.class));
    	this.finish();
    }
    
}
